img {
    width: 12%; 
    float: left; 
    margin-right: 20px;
}

.deleted-short {background-color: rgba(255, 0, 0, 0.4);}

#pfp {
    width: 150px;
    float: left;
    margin-right: 20px;
    cursor: pointer;
}

.thumb {
    position: relative;
    display: inline-block;
}
        
.thumb img {display: block;}

.duration {
    position: absolute;
    bottom: 9px;
    right: 9px;
    background: rgba(0, 0, 0, 0.85);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    line-height: 1;
    pointer-events: none;
}

.videoToggles {
    margin-left: 10px;
    margin-bottom: 10px;
    padding: 6px;
    font-weight: 600;
}

/* --- Full-Width Stretch Tabs With Separators --- */
.tab-bar {
    display: flex;
    width: 100%;
    margin: 10px 0;
    position: sticky;
    top: 46px;
    z-index: 1000;
}

.tab-bar a {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
    background: #d40000;   /* Red background */
    color: white;          /* White text */
    font-size: 1rem;
    font-weight: 600;
    transition: 0.2s;
    border-right: 2px solid #ffffff55; /* Light separator */
}

/* Remove the last separator */
.tab-bar a:last-child {border-right: none;}
.tab-bar a:hover {background: #b30000;}

/* Shorts grid */
.shorts-row {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    justify-content: center;
    justify-items: center;
    padding: 10px 0;
    max-width: 1200px;
    margin: auto;
}

/* Each short */
.short {
    width: 180px; /* Similar to YouTube Shorts card width */
    text-align: center;
}

.short img {
    width: 100%;
    border: 1px solid black;
}

.short h3 {
    margin-top: 2px;
    font-size: 15px;
}

/* Tablet query */
@media (max-width: 1024px) {
img {width: 23%;}
.tab-bar a {
    font-size: 0.9rem;
    padding: 12px 0;
}
.shorts-row {grid-template-columns: repeat(3, 1fr);}
}

/* Phone query */
@media (max-width: 768px) {
img {width: 100%;}
.tab-bar a {
    font-size: 0.8rem;
    padding: 10px 0;
}
.shorts-row {grid-template-columns: repeat(2, 1fr);}
.short {width: 160px;}
}        